<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1 th:text = "${name}">使用html</h1>
    <p>当前时间：<span th:text="${time}"></span></p>
</body>
</html>